package com.rentong.wx.cust.service;

import com.rentong.page.Page;
import com.rentong.wx.cust.domain.CustCanyinquanDianzanArticleEntity;
import com.rentong.wx.cust.domain.CustCanyinquanEntity;
import com.rentong.wx.cust.domain.CustCanyinquanPinglunEntity;
import com.rentong.wx.cust.dto.*;

import java.math.BigDecimal;
import java.util.List;

/**
 *
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:33
 */
public interface CustCanyinquanService {

    Page getCustCanyinquanList(Long cityId, String content, BigDecimal longitude, BigDecimal latitude, Integer sort, Long canyinquanLabelId, Integer pageNum, Integer pageSize,Long custId);

    CustCanyinquanDto getDynamicName(Long custId, Long canyinquanId);

    Page getPingLun(Long canyinquanId, Long custId, Integer pageNum, Integer pageSize);

    List<CommentDto> getLoadChildPingLun(Long canyinquanPinglunId, Long custId, Integer pageNum, Integer pageSize);

    Long saveCanyinquan(SaveCanyinquanDto saveCanyinquanDto, Long custId);

    void updateCanyinquanState(Long canyinquanId, Integer type, Long custId);

    void updateOrDelDianzan(Long canyinquanPinglunId, Integer type, Long custId);

    //void insertPinglun1(Long fuId,Long custId,String pinglunContent,Long canyinquanId);
    void insertPinglun(CustCanyinquanPinglunEntity custCanyinquanPinglunEntity);

    List<CustCanyinquanDto> getCanyinquanList(CustCanyinquanEntityDto custCanyinquanEntityDto);

    void updateCanyinquanById(CustCanyinquanEntityDto custCanyinquanEntityDto);

    Object insertDelDianzan(CustCanyinquanDianzanArticleEntity cdae, Integer type);
}

